<?php

namespace App\Http\Controllers;

use App\Models\WordCloud;
use Illuminate\Http\Request;

class WordCloudController extends Controller
{
    //
    public function index(Request $request){
        return WordCloud::query()->where('isbn', '=', $request->isbn)->orderByDesc('id')->first();
    }
}
